package com.bluestarenergy.party.sample.domain;
import java.util.List;

/**
 * Defines an abstract representation of people and organizations.
 * 
 *            Organizations and people have common characteristics that describe
 * them such as: credit rating, address, phone/fax numbers, email address.
 *            Organizations and people can also serve in similar roles as parties
 * to contracts, buyers, sellers, responsible parties, or members of other
 * organizations.
 * @version 1.0
 * @created 01-Sep-2006 1:42:32 PM
 */
public class Party extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private List<PartyRole>             partyRoleList;

	
	public Party(){

	}


	public List<PartyRole> getPartyRoleList(){
		return partyRoleList;
	}


	/**
	 * 
	 * @param newVal
	 */
	public void setPartyRoleList(List<PartyRole> newVal){
		partyRoleList = newVal;
	}


//	 CONVENIENT METHODS
	public String getOrganizationName() {
		// To be overriden in subclass
		return null;
	}

	public String getFirstName() {
		// To be overriden in subclass
		return null;
	}

	public String getLastName() {
		// To be overriden in subclass
		return null;
	}



	
	public void setOrganizationName(String name) {
		// To be overriden in subclass
	}
	
	public void setFirstName(String firstName) {
		// To be overriden in subclass
	}

	public void setLastName(String lastName) {
		// To be overriden in subclass
	}
	

	

}